package com.east.sng.entity.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * @author east
 * @date: 2020/12/29
 * @Description: menu find return column javabean
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuTree implements Serializable {

    /**
     * 菜单序列号
     */
    private Integer menuId;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单链接
     */
    private String url;

    /**
     * 父菜单id
     */
    private Integer parentId;

    /**
     * 子菜单
     */
    private List<MenuTree> children = new LinkedList<>();

    /**
     * 菜单属性
     */
    private boolean open = false;
    private boolean checked = false;
}
